*{
    padding: 0 ;
    margin: 0 ;
}
body{
    background-image: linear-gradient(128deg,#718093,#636e72) ;
    height: 100vh ;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.header{
    flex:0 auto;
    width: 55% ;
    height: 30px ;
    background: #2f3640 ;
    border-top-left-radius: 8px ;
    border-top-right-radius: 8px ;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 10px #2f3640 ;
    z-index: 1 ;
    text-align:center;
    font-size: 13px ;
    color: #fbfaf5 ;
    position: relative;
    .extra-box{
        position: absolute;
        right: 0 ;
        width: 50%;
        height: 100% ;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        .extra-btn{
            box-sizing: border-box;
            margin-right: 6px ;
            flex:0 auto;
            width: 10px ;
            height: 10px ;
            border-radius: 50% ;
            background: #dcdde1 ;
            cursor: pointer;
            &:nth-child(3){
                width: 12px ;
                height: 12px  ;
                background: transparent;
                border: solid 2px #ea5506 ;
            }
        }
    }
}
main{
    box-sizing: border-box;
    position: relative;
    flex: 0 auto ;
    width: 55% ;
    height: 90% ;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
    padding-top: 20px ;
    padding-left: 10px ;
    background: #2e2930 ;
    border-bottom-left-radius: 8px ;
    border-bottom-right-radius: 8px ;
    box-shadow: 0px 0px 10px #2f3640 ;
    ul{
        list-style: none;
        font-size: 15px;
        font-weight: 400;
        font-family: Fira Code,Source Code Pro,Monaco,Menlo,Consolas,monospace;
        text-shadow: #a09c9b 0 0 1px,#fffffb 0 0 1px;
        position: relative;
        //user-select: none;
        overflow: auto;
        margin-bottom:30px ;
        -ms-overflow-style: none;
        scrollbar-width:none;
        &::-webkit-scrollbar {display:none;}
        li{
            padding: 0 ;
            margin: 0 ;
            font-size: 0 ;
            color: #fbfaf5 ;
            margin-top: 15px ;
            &.title-code{
                font-size: 15px ;
            }
            .normal-code{
                font-size: 15px ;
            }
            .user-code{
                text-shadow: #a09c9b 0 0 0px,#fffffb 0 0 0px;
                color: #4cd137 ;
                font-weight: 700 ;
                font-size: 15px ;
            }
            .other-code{
                text-shadow: transparent 0 0 0px;
                color: #273c75 ;
                font-weight: 700 ;
                font-size: 15px ;
            }
            .run-code{
                font-size: 13px ;
                margin-left: 5px ;
            }
            .system-code{
                background: #dfe6e9 ;
                padding: 2px; 
                padding-left: 5px ;
                padding-right: 5px ;
                color: #2d3436 ;
                font-size: 15px ;
                margin-right: 10px ;
            }
            .time-code{
                background: #636e72 ;
                padding: 2px; 
                padding-left: 5px ;
                padding-right: 5px ;
                color: #f5f6fa;
                font-size: 15px ;
                margin-right: 10px ;
            }
            .tag-code{
                background: #274a78 ;
                padding: 2px; 
                padding-left: 5px ;
                padding-right: 5px ;
                color: #f5f6fa;
                font-size: 15px ;
                margin-right: 10px ;
            }
            .ul-code{
                list-style: disc;
                font-size: 15px ;
                margin-left: 50px ;
                list-style: disc !important;
            }
            .done-code{
                background: #006e54 ;
                padding: 2px; 
                padding-left: 5px ;
                padding-right: 5px ;
                color: #f5f6fa;
                font-size: 15px ;
                margin-right: 10px ;
            }
            .error-code{
                background: #c23616 ;
                padding: 2px; 
                padding-left: 5px ;
                padding-right: 5px ;
                color: #f5f6fa;
                font-size: 15px ;
                margin-right: 10px ;
            }
            .ce-code{
                background: #fbc531 ;
                padding: 2px; 
                padding-left: 5px ;
                padding-right: 5px ;
                color: #f5f6fa;
                font-size: 15px ;
                margin-right: 10px ;
            }
        } 
    }
    .input-line{
        position: absolute;
        bottom: 5px ;
        padding: 0 ;
        margin: 0 ;
        color: #fbfaf5 ;
        font-size: 13px ;
        width: 100% ;
        max-width: 100% ;
        .user-code{
            text-shadow: #a09c9b 0 0 0px,#fffffb 0 0 0px;
            color: #4cd137 ;
            font-weight: 700 ;
            font-size: 13px ;
        }
        .other-code{
            text-shadow: transparent 0 0 0px;
            color: #273c75 ;
            font-weight: 700 ;
            font-size: 13px ;
        }
        .cursor{
            margin: 0;
            background-color: #fff;
            -webkit-animation: blink 1s step-end infinite;
            animation: blink 1s step-end infinite;
            margin-left: -10px;
            display: inline-block;
            width: 8px ;
            z-index: -1 ;
        }
        .input-box{
            position: relative;
            background: transparent;
            border: none;
            width: 5px;
            cursor: default;
            font-weight: 400;
            padding: 0 ;
            margin: 0  ;
            font-family: Fira Code,Source Code Pro,Monaco,Menlo,Consolas,monospace;
            color: #fff;
            border: solid 0px transparent ;
            text-shadow: #a09c9b 0 0 1px,#fffffb 0 0 1px;
            outline:none;
            caret-color:transparent;
            font-size: 15px ;
            &:focus{
                border: solid 0px transparent ;
            }
        }
    }   
}

.main-box{
    >li{
        animation-fill-mode:forwards;
        &:nth-child(3){
            opacity: 0 ;
            animation-name: li-show ;
            animation-duration:1s ;
            animation-iteration-count:1 ;
            animation-direction:normal;
            animation-delay:3s;
        }
        &:nth-child(4){
            opacity: 0 ;
            animation-name: li-show ;
            animation-duration:1s ;
            animation-iteration-count:1 ;
            animation-direction:normal;
            animation-delay:4s;
        }
        &:nth-child(5){
            opacity: 0 ;
            animation-name: li-show ;
            animation-duration:1s ;
            animation-iteration-count:1 ;
            animation-direction:normal;
            animation-delay:5s;
        }
        &:nth-child(6){
            opacity: 0 ;
            animation-name: li-show ;
            animation-duration:1s ;
            animation-iteration-count:1 ;
            animation-direction:normal;
            animation-delay:6s;
        }
        &:nth-child(7){
            opacity: 0 ;
            animation-name: li-show ;
            animation-duration:1s ;
            animation-iteration-count:1 ;
            animation-direction:normal;
            animation-delay:7s;
        }
        &:nth-child(8){
            opacity: 0 ;
            animation-name: li-show ;
            animation-duration:1s ;
            animation-iteration-count:1 ;
            animation-direction:normal;
            animation-delay:8s;
        }
        &:nth-child(9){
            opacity: 0 ;
            animation-name: li-show ;
            animation-duration:1s ;
            animation-iteration-count:1 ;
            animation-direction:normal;
            animation-delay:9s;
        }
        &:nth-child(10){
            opacity: 0 ;
            animation-name: li-show ;
            animation-duration:1s ;
            animation-iteration-count:1 ;
            animation-direction:normal;
            animation-delay:10s;
        }
        &:nth-child(11){
            opacity: 0 ;
            animation-name: li-show ;
            animation-duration:1s ;
            animation-iteration-count:1 ;
            animation-direction:normal;
            animation-delay:11s;
        }
        &:nth-child(12){
            opacity: 0 ;
            animation-name: li-show ;
            animation-duration:1s ;
            animation-iteration-count:1 ;
            animation-direction:normal;
            animation-delay:12s;
        }
        &:nth-child(13){
            opacity: 0 ;
            animation-name: li-show ;
            animation-duration:1s ;
            animation-iteration-count:1 ;
            animation-direction:normal;
            animation-delay:13s;
        }
    }
}


@-webkit-keyframes li-show {
    100% {
        opacity: 1 ;
    }
}
@keyframes li-show {
    100% {
        opacity: 1 ;
    }
}

@-webkit-keyframes blink {
    50% {
        visibility:hidden ;
    }
}
@keyframes blink {
    50% {
        visibility:hidden ;
    }
}